#! /usr/bin/env node
// -*- js -*-

/*global require,JSON*/
(function setUp(require, JSON) {
  'use strict';

  var npmConf = require('../package.json')
    , bowerConf = require('../bower.json')
    , fs = require('fs')
    , newBowerConf;

  bowerConf.version = npmConf.version;
  newBowerConf = JSON.stringify(bowerConf, null, 2);
  fs.writeFileSync('bower.json', newBowerConf);
}(require, JSON));
